package com.xhwl.logistics.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xhwl.common.pojo.cent.vehicle.VehcCarRecord;
import com.xhwl.common.query.cent.vehicle.CarRecordQuery;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestPart;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Lu.Aaron
 * @since 2021-03-05
 */
//@RestController
public interface IVehcCarRecordService extends IService<VehcCarRecord> {



    @RequestMapping(value = "/carRecord-service/add", method = RequestMethod.POST)
    Page<VehcCarRecord> carRecordPage(@RequestPart("carRecordQuery")CarRecordQuery carRecordQuery);

    void carRecordExport(CarRecordQuery carRecordQuery, HttpServletResponse response);
}
